package daa.levelup.UnitFactory;

public class Wizard extends Unit {

    private int mana = 50;

    public Wizard(int health, int armor, String name, int attackCount, String weapon) {
        super(health, armor, name, attackCount, weapon);

        this.mana = mana / 5;
    }

    @Override
    public void level() {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public String toString() {
        return "Wizard{" +
                "mana=" + mana +
                '}';
    }
}
